package com.zhuojy.equity.mall.admin.common.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class TreeVO implements Serializable{
    private static final long serialVersionUID = 4144506370613810030L;
    private Long id;
    private String pid;
    private String name;
    private String url;
    private Integer sort;
    private String icon;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<TreeVO> children;


}
